package com.auemall.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.auemall.dao.ProductinfoMapper;
import com.auemall.po.Productinfo;
import com.auemall.service.ProductInfoService;

@Service
public class ProductInfoServiceImpl implements ProductInfoService {
	
	@Autowired
	private ProductinfoMapper productinfoMapper;
	
	public Productinfo findProductInfoById(Integer pid) {
		
		return productinfoMapper.selectByPrimaryKey(pid);
	}

}
